package service.admin.impl;

import dao.admin.ManagerAddDao;
import dao.admin.impl.ManagerAddDaoImpl;
import entity.Manager;
import service.admin.ManagerAddService;

/**
 * ManagerAddServiceImpl
 *
 * @author ChenYanMei
 * @version 2023/9/5
 */
public class ManagerAddServiceImpl implements ManagerAddService {
    private ManagerAddDao dao = new ManagerAddDaoImpl();
    /**
     * 添加管理员信息
     *
     * @param manager
     * @return
     */
    @Override
    public int add(Manager manager, String account) {
        return dao.add(manager,account);
    }
}
